running distributed scripts using rake