Added a conditional test for checking if host already enabled.