added support to configuration file