fixed iMacros script to work