add command line options and PN headers