First iteration on a script to test pnmc