install z to right directory