reorg of scripts and the images they use