Added the capability to change the macro file