make setup configurable through config.js