Use BASH_SOURCE to get the script's directory, allowing the script to run correctly from any working directory. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>