allow images to be specified on command line