changed settings to work on localhost