Added [bg_percentile] parameter to sprat_red_trim.