fixed master file generation command