Updated output so each module's output goes to its own output subdirectory.