scripts for preparing data and command files for analysis