added outpu option to wget