edited mod script