move php to survey.php