MSD looks like it's working
program writes bash scripts to file for plotting