create phar script