steal planar code, modify install.py