set up script tags & links