Don't run code on import, wrap retrieval of png_content in a function