command line pass image dirs