restore to /build and cleanup afterwards