added script for overlapRandomThreshold