added the solver script