Rebuild phar