add open url functionality