New pnl lib path and wrapper function