Improve the grammaticality of this sentence: The authorties had decided to unblock Facebook after the company promised to remove the content considered blasphemous as well as the 'obnoxious' pictures of the country's leaders.
The authorties had decided to unblock Facebook after the company promised to remove the content considered blasphemous as well as the "obnoxious" pictures of the country's leaders.