Switch to local kernel