Refactored the update script so that it works with cygwin
Was mostly testing committing using the GitHub token