reduce the number of environmental variables passed into the NSTaks