added constants for env vars, created a single temp localtion