Changed makeDist