Some adjustments to index

Also added local_settings