simple script to edit your text under some rules