adding spm install/remove/upgrade exit codes