Inserting debug __main__ method for OCG.