Allow loader.sh to be called from another dir