Working Python scripts for IMU