change to setScript() since it does more than update
change to setScript() since it does more than update