added config file
support for config file