Default shell is not bash, and does not support source
source
Be explicit about it being a bash script.