run main program after translating.