BASEDIR=$(dirname $0) echo "Script location: ${BASEDIR}"