Use the location of the script instead of the working directory, because the script could be called from anywhere.