added post-matrix scripts