#13 scripts for matrix demo