added install macros and sed macros