Updated checking script.