added secure config