p12n: add view and extraction script