Added the -i param to the remove bash shell that is executed as sudo, this should cause it to parse the ~/.bashrc and other files to ensure various cloud-specific env vars are set