snapshotimp: move macros to fork-based