Add attributes to small boxes