add auto commit script to tool