See gyroScript API documentation here