modify management command to allow specifying offsets