Add thresholdp triton scripting