changing the port to 5000 so it is in sync with default foreman
replacing __dirname with process.cwd();