Added repair database command