Ensure proper directory is used to start the server