changes to how history and virtualenv works