Change genconfig_image.sh file mode