add rebuild_case management command