switch add command to use subprocess to open notes in text editor