move hardcoded hostname to a variable