server.js edits for directory location