only call afterLoad if model actually gets loaded
disable shortening if config flag is disabled
disable trying to get xml attributes if command fails to execute or parse