rmoved hard code for local host.