Added formatting to code selection sending