Added Logic to Persist Configuration for existing deployments