source in sub-env rather than running external command, to preserve BUILD_DIR etc
Merge branch 'source-hooks' into develop