updated multiplexed script