Update image-if.sh to throw error when enough arguments are not supplied