wget options added to limit # of tries and time, cleanup.