Moved root check after options.