Wrote autocommit script.