added functionality to ignore certain hosts