script to visualize chained f_tps