regen.php no longer needs to shell out to php