remove * imports
convert config options to string before writing to file