put script in head..changed to click