Step 1 in PHAR Rewrite