getting variables from config file