Scripts for processing physiological research data