added autocommit script