support for interface selection added
Updated with the new param