cookbook for curl