Use ISBoxer and it generates all your macros for you. Easy as pie