added some scripts for dashboard