added script for analysis