automatic commit via sh file