Hi ambaum01
I've never worked with expect myself, but suspect the problem may be in the script. For example:
expect "username@servername's password: $"
This is what expect is looking for from ssh. It's very specific, so if your syntax for the response is not exactly right, it
will fail. I recommend Googling linux expect scp example to find a better starting point for a more robust script.
Google will return a lot of examples related to what you want with that search phrase.