adding command to run a macro n times