Get the directory that your script lives in

HERE=$(dirname ${BASH_SOURCE[0]})