add save/load of cmt environments