added testing conditions / added prefix to wget to run from homedir