add functions for install extensions