converted arguments with xargs to be able to run curl