Gear scripts fixes and alterations