Setting worker paths based on environment.