Next up, calling shpub from within emacs. This should help: https://stackoverflow.com/questions/14076683/calling-shell-from-emacs 22nd July 2017