script changes for HW 4