Changed command that checks domain status to be more efficient and have better output