#28 adding more logging in case the config file can't be created