Move venv creation and activation to top level