Fix usage of environmental variables.