Added repair command