Better import error handling