Changed Config to work with localhost