check if writemathrc exists