coupon edit validation + scripts