updated the scripts