Minor changes to url opening