hwrt/create_pfiles.py: refactoring, normalization can get activated