adding script timeout