Scripts should go into template files.