Add numbered theorem environments for notes.
Change install directory for Mac.