Added handling for when kosher is run before config.
Fixed exception cases when aborting the script.