added scripts to make Response matrix