clean up scripts file