select all text
added method to save pngs
Refactored code