setup environment variables for launcher subprocess