changed settings to work on server and home