Add install and uninstall function.