great, it works thanks. But I have another problem, when I write a few lines of wget in the script file, it executes then and gives a 404 error on all of them except the last one, and all the commands are correct, if I type them one by one it will work...