function setupPaths(shell) local temp = shell.getRunningProgram() --local temp = string.sub(temp,1,#temp-#fs.getName(temp)-1) odir = string.sub(temp,1,#temp-#fs.getName(temp)-1) end function dir() return odir end