update_repositories.sh

don't run commands which aren't installed