Added hostname handler