adding script to run analysis from a text input file