https://github.com/timriffe/MacroShape