Update genconfig_image.sh script