Added carrierwave and functionality