Changes to index and myscript