pass url arguments to custom functions