add install function to 1.6.4 (not tested)