Remove hardcoded localhost hostname