https://www.francescoficarola.com/bash-get-source-directory-bash-script/
[BASH] Get the source directory of a bash script