Create gpgz script