Add pid and pwd of application in app instance