automatic commit from script