FIxed GWing script for 9.12