Adapted tap configuration code