alembic: script modifications due to errors