Addressed scoping issue with parent.frame()
Addressed scoping issue with parent.frame()