fix up simple scripts