Fixed passing parameters in the URL to the script