manage script changed for production or development