Modified install.sh to track change and commit only if there is change