Corrected way of importing docs with carrierwave and added logging