made some changes to properly call postactivate again after sourcing local venv