use nslog, rename apply styles to line instead of range, add apply image commands
add image to sample text