adding config in worker file