Update migrating script. Add simple view for material in dashboard