Patch 1

Set non-zero exit codes, allowing scripts to determine if the import went well