Fixed environments variables for npm

They will now be persistent and set as variables.