[enh] Added if __main__ to minion2