diff --git a/lib/index.js b/lib/index.js
index <HASH>..<HASH> 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -155,6 +155,7 @@ var onFlush = function(time, metrics) {
 			insert(obj.db, obj.col, obj.data, function(err){
 				if (err) console.log('stat not saved for '+key);
 				if (err) console.log(err);
+				if (options.debug) console.log('Saved key %s', key);
 			});
 		};
 	});
@@ -167,6 +168,8 @@ var onFlush = function(time, metrics) {
  *	@param {Object} events
  */
 exports.init = function(startup_time, config, events) {
+	if (!startup_time || !config || !events) return false;
+
 	options.debug = config.debug;
 
 	if (typeof config.mongoPrefix == 'boolean' && typeof config.mongoName !== 'string') {
adds conditional for debug to make sure tests pass