Simpler implementation of --unshare option for most flags