added phar building utitly