Added debugging script to index.