Included setenv custom function for node environments