add imaging flags to config