modified to only copy the binaries