set up indexes at server start