Added scripts 4 twitch detection and gait tracking