change resource on worker to be configurable