Were replacing a bad sprocket following troubleshooting of a gearbox. Removed the 4 bolts from the mounting plate, chain slipped and motor & gearbox fell. The falling equipment impacted the IW left pinky finger, requiring stitches, antibiotics and light duty.