Using hostname for environment selection in example.