add conditional use of go path setting