Exit on mutually exclusive condition.  Also we import imp twice?
enumerate and format string changes