scripts for use in the T4 CMS