Added config option: choose input type