Added hostname condition