Add experiment code to index.handle