add support for <macros src=''> which imports macro files