Rewrite command server