detect script changed