added advertising scripts