Working IndexHandler for adding indices