Add support for configuration file