Added "determine_url" method to file - updated method call in "set_route"