update scripts and docs