Where are the macros located?

See

TIP: Location of KM Essential Files for Backup, Restore