Fix hosts class to run when parameters are ok - again