Pre-process Ivy file by adding artifacts, do NOT flip-flop between default and main.