updated so that file checks are in the shell script and not the ant tasks