Update server.pl

Updated the server with recent changes.