added global postgo hook for virtualenv