setup_arch improvements