fixed creating application into tmp folder and creating service function call name