add back query.php