Refactored alembic env.py to work with --autogenerate flag