Implemented dynamic header pills