Script updates, fix incorrect getSamplerType value.