cwm.sh Scan function update