updated run method to use sim_params.