Update and rename record.sh.bak to record.bak.sh