if URL then open