Added support for imacros files