Modify Generate Scripts