pack, install and remove prototypes