adding script to page