Place script into themed template