reformating vars file