Updated server to run externally