load mod macro