* Sorted out mess for output directories and commands. * Minimized some redundant repetitions. * Used consistent OutDir and IntDir directories.