added config file loading