set node as environment at the beginning of the scripts