update script to not use commit range, add swp files to gitignore