9.1.5 getScript function