add script to fix notes, reorganize scripts/ directory