Addition of smart dashboard code