Scripts for experiment control, data analysis, and image processing