replaced readlink -m by ${BASH_SOURCE[0]}