removing hardcoded hostname