save varibles to vars folder