rebuild pb; use imported flag in features