Define URL variable as local instead of global.