Appearance
One-liner stolen shamelessly from Stack Overflow:
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )