refactor how I get config values. Change how to get project from event.