added create phar batch
hot fix, added realpath to obtain dir path