added -a for autofinish and -c for autocomplete