contentexport code cleaning & commenting