update scripts to work