updated wget routine

prolly want to pull this in.