adding rebuilddb command