Modified shoot code, added several sensors.