changing pkg directory