modified for config file