Fixed bugs in create_dashboards script