update scripts

fix popup