modified constants.js to make it api discover specific.