Committing main program.