Running the local application as all distants in the for loop