replicate the index.php into plan.php