fix worker instance misconfiguration

Hi

I've added passing config into the worker. Could you please review.

Thanks
Sorry to be nitpicking. Please use a space between args here to keep the code styles consistent.