This is a problem with the placement of the Create Dynamic Array code, it will need to be moved so that it is between the <head> and </head> tag.
in the Server behaviors list, select the Create A Dynamic array server behavior, this will select all of the code associated with it, go to Code view and use ctrl+x to cut that code.
place you cursor just before the </head> tag, and use ctrl+v to past e the code back in.