Add function to install repo