added varparsing to config file