script working!
added shell script to make the call for batch stats on clamp detection