managing install and temp directories