created script to initialize elasticsearch from fs