working on converting repo into temp repo with automatic cleanup