moves curl into utils