Scripts and tools from flashdba