getting linescan analysis to work