working start file generator