working config for master and workers