Use bashrc functions in deployment script.