Added script for repeated binning.