Added note environment + shownotes switch