converts old setting of var in sls to newer format