Added auto commit