Change hostname format