Added linesearch option to run.sh