[pm-qa 04/14] add script functions