moving index to root directory