accept options arguments including image directory