change var slspathdot to slsdotpath