first work on .phar generation