Improved books import