slight script changes to final2