Update doScript methods.