Add logic to check if the deployed applicaiton exists