The version on the server with some changes for incorporating checking options