moving the index to the correct folder