Added improved check setup script.