add Import code and page styling during import