Improve source load
Use `set -e` and `set -x` when running remote commands
Make --env, --tree-ish and --type options required