adding application hostobject for init/destroy scripts