add configuration file support