 to solve this problem for you: '''configuration artifacts of your scripts should exist in either the user's {{{HOME}}} directory or {{{/etc}}}'''. That gives your script an absolute path to look for the file, solving your problem instantly: you no longer depend on the "location" of your script: 