revered generic gms script