Add index handler and settings