started automating multi image serialization / materialization; modularizing scripts