script for the parallel analysis based on policy thresholds