correctly set environment-vars for workers