script to run rosenbrock