fixed deploy and status for results.php. All queries should work now