Create and apply tags