Added autochooser.c