add --use-cache option to install functions