Ancillary Scripts required for analysis