added commit field to script
fix bug