remove png_path, use export() instead