Added some safety measures to importimg
No need to error here
Added missing exit 1