replacing server.js instead of adding a new file