Added indexConvert to the automake, fixed an argument processing bug, and errors now go to stderr