Changed constants to only initialize if not definend to avoid "already initialized" errors on every request.