autosearch.py added to handle command line options and ini