Regenerate phar