add methods to handle text,images and scripts