rehashes packages, stubs out require