Updated ast to print .png file