Fixed AGS.Types.Scripts enumerator to be backwards compatible with AGS 3.2.1
Some changes to enumerator to support generic interface