Change app secret codes to use environment variables.