Added temporary config file and error logs.