uncommented code that creates dir, clone from repo and make images.