script should now produce the correct cliques