Un-global bind_hostname & pass it properly instead