updated server with moses modes