p12n: Metro fixes to general productization script