updated Script