Rewritting server part