Added missing dashboard code