scripts and links positions in template