fix up script