added intranet mode