Adding configuration of script object controls the lifecycle of native object.
Merge pull request #6 from dumganhar/master

Adding configuration of script object controls the lifecycle of native object.