Add old dashboard code