Added config file check mechanism