Add shell script for macro expansion