Links and scripts in template