set worker directory from configuration file