Adding checks for setup script