eliminated dependency on get-inicontent, and added some guesses for extension-based commands