removed script.favourites dependency