Update the default index and rank. Minor changes in craes.py