Added png creation to tool functionality.