Basic working version for macros.  no Gui.