How can I use the script in frontpage?