cleaned up localpfgen