fix deep-cp
clean up legacy cruft and use $BUILD_DIR instead of /app