Un-hardcoding to localhost