Fix broken temp script