rhwrite now writes old style