reducer script changed