enable image generator in auto run
modify args and argv