Changed generate scripts to use #!/usr/bin/env php instead of directly linking to the php binary