Latest working version of vic_sm