Overhauling Multiple streams script as per changes suggested