this won't get called when cookbook_name is nil, that's why the 'if' is there :)