change scopes for postgres compatibility
integrate sunlight foundation API