script directory
script_dir="$(dirname "$(readlink -f "$0")")"
Ref:-
https://stackoverflow.com/questions/59895/how-do-i-get-the-directory-where-a-bash-script-is-located-from-within-the-script