making minor changse to the script.