New clustering script