Revert "don't have include at all if no imports"

This reverts commit e49c0ca2f06715e97d64a90320fef73da69ec329.
Revert "fixing import writing"

This reverts commit 01ba1732d9989b68aaa5bb7ae96dc68219b1f2b5.