The ".project_generator" file needs to be in your home directory.
Make the .sh file executable.
Adding a symlink in /usr/bin will allow you to use this more easily
sudo ln -s /path/to/script/project-generator.sh /usr/bin/project-generator
/path/to/script/project-generator.sh <project-name>