plot pert conn, pert dop, small fixes scripts