update reduction scripts