script to the footer