script to build all images