adding in -f operation as well ad a hosts.txt file