Local macros with subcommands submacros and control statements