now using config file