Cannot detect ADS type! Add type parameter to script calling