add -neg_only and -pos_only flags