adjustments to run dynamics for qmmm