add a button to scripting that allows editing the script outside write out the script to a tmp file, activate inotify https://developer.ibm.com/tutorials/l-ubuntu-inotify/ try to find available editors in path and let the user choose