Implement algorithm selection in config.js