Bug fixes and added git add -u to deal with deleted files
Bug fixes, and using cwd to get list of files