Checking script and other stuff