adding scripts and explaining myself