While the script executes you will see some status codes, below you will find the meaning: phase code meaning *** 1) 0 neither BASE.iso nor BASE.wbfs found 1 BASE.iso found in ${PWD} 2 BASE.wbfs found in ${PWD} *** 2) 0 no .iso/.wbfs found (or required if *** 1) exited with 1 or 2) 1 .iso found in ${PWD} 2 .wbfs found in ${PWD} 3 .iso found in ${PATCHIMAGE_WBFS_DIR} 4 .iso found in ${PATCHIMAGE_WBFS_DIR} *** 3) 0 no riivolution files found unpacked in ${PWD} 1 riivolution files/archive not found in ${PWD} 2 riivolution archive found in ${PWD} 3 riivolution archive found in ${PATCHIMAGE_RIIVOLUTION_DIR} 4 patchimage was told to download riivolution archive, but no link is available 5 patchimage is downloading riivolution archive