Making the sample work in the static site