update scripts to the most recent version of my scripts that fixes a lot of bugs