Worked on scripts to update function matrix