Thank you for the speedy response! I really appreciate the breakdown.
I discovered that the issue was actually with the name I was giving my variable...I'm still not sure why it was happening but I suspect it was too similar to the name of something else in my project. Once I followed your code with a different name it worked!
Thanks again for your contributions as I'm really excited to have this feature and I will be crediting you in the final release!