Writing env variable from Node