build_images into new module