Shifted code from the servo file to the hopper file.