Updated to rewrite .env.php