modified config.js to support local development