updated the build to work with oauth vars