The trivial script does not need to be in the same folder, it can be placed anywhere.

If you did not expect the error of the invalid folder, then why oh why did you disregard the message? You've installed EB into the wrong folder again.