Adding flags for network interface and directory specificaiton