modifying urlhash to accept parameters
adding appropriate ids in the templates