moved script into content block