added script for within analysis
use