added scripts for analysis