Abstract url to a global variable