add script for analysis