added input loop until right png-name is entered