added env compatibility to notes