add tags, segments and aliases