Right version of send.sh and add preliminary clustering algo.