Scripts I have written for my work at the TOMCAT beamline