saving environment-vars into file