Carrierwave function is working