added a script to parse URL parameters