added config file capability