added grep commands
run looks for generator script in proper directory