adding virtualenv custom hooks