Input (grade 6): After that, he tried to sell the script with the intention of playing the lead role.
Output (grade 5): After that, he tried to sell the script with the intent of playing the lead role.