A couple of scripts for when using CHTC resources (at UW Madison), modified by Andy.