add selector
hide distribution command if not applicable