I tried to use the script, but got this error.
/bin/bash^M: bad interpreter: no such file or directory