With Diwali a little over two weeks away, the Delhi government Thursday wrote to the Customs department and Delhi Police on ways to stop the import and sale of harmful crackers.