updated: merged upstream changes and added pre-population of LONG_COMMAND_IGNORE_LIST when invoking.