Allow url to be specified from caller