Added write with sudo cmap