tidied code a little, fixed missing definition of Cc, made it clearer PNH_MANIFEST was to be user-defined