load vars from file and set vars