Moved the setup check