Adapted Solver and snippet to run solver to new containers.