Given the above, the following guidelines should be considered when
the ``env.py`` script calls upon :meth:`.MigrationContext.run_migrations`
-mutiple times when running autogenerate:
+multiple times when running autogenerate:
* If the ``process_revision_directives`` hook aims to **add elements
based on inspection of the current database /
with the actual script files in a migration environment
* to create an :class:`.EnvironmentContext`, which allows you to
actually run the ``env.py`` module within the migration environment
-* to programatically run any of the commands in the :ref:`alembic.command.toplevel`
+* to programmatically run any of the commands in the :ref:`alembic.command.toplevel`
module.
The :class:`.Config` is *not* needed for these cases: