Updated server code for mounting