added resetdb command