Partial precompilation and output file bug fixed