****************here***************************
hey thanks but you indeed went way over my head there are you a programmer?
i would like you to look over my code if you can call it that
I don't mind taking a look but I have limited time to dedicate to assisting, and you would be the best resource to maintain the actual code.
What language is it written in?
What parts of my suggestions do I need to explain more clearly?
The main part is error checking, for instance your code makes a call to wget to fetch some files, if this wget fails, the program continues, believing your wget was successful. What you should be doing is something similar to the pseudocode below:
CODE
RETURNCODE=wget
http://www.someserver.com/somefile.zip STDOUT> download.log ERROUT>download.log
if [RETURNCODE == 0]
echo Download was successful
else
echo Fetching file not successful, please check download.log for further information
endif