pass url and options to  worker