Utilized Groovy command line options for image directory.