added plotting script so I don't delete it again like an idiot.