add version and auto-select text