Updated solver with correct output directory.