Use readlink -f to resolve the script's real path so that reload.sh can be invoked through a symlink from any directory.