Fixed environment passing in launch_workers