add clustering script