Some random scripts and tools for pi