install_unit function

Define or remove units