Updated so as to take target web faction machine as a parameter