change script to find right div