changes references from cookbook to functions in functions.html