Improving MEG analysis scripts