minor changes to run macro to debug problems with maverick OS