updating nodefly key and changing error reporting in db setup loop.