Adding scripts for final analysis