Fix checking scripts