SimQPN.sh misses execute rights and contains DOS end-of-line characters

This is an easy fix, but nerves a lot for Linux and Mac users.

  1. File SimQPN.sh misses execute rights. Every time, I must manually add it: chmod 775 SimQPN.sh

  2. Running the SimQPN.sh script gives error:

    user@host:~/qpme$ ./SimQPN.sh 
    -bash: ./SimQPN.sh: /bin/sh^M: bad interpreter: No such file or directory

This can be fixed by opening vim and typing set ff=unix or :%s/\r//g