script for creating dashbaords and graphs