Removed the variable final_png and just called the function.