Miscellaneous scripts for UNCA