Make gen.exe accept arguments