auto commit script