> This is the original post I took the scripts from: http://sev17.com/2012/11/06/scripting-ssis-package-deployments/

Did you take the code snippets from there, or include a full script (I couldn't see one immediately, but didn't look for long)..?