Handle auto local mode in PPNL
merge
add exectype