added a script to tell if there is something to commit
removed unnecessary