rename gen script and check file