Fixing workers restart. Fixing env config.