changes to index and script