minor updates to notes
rewrite of notes as a script
more tweaks