using startup script to run elasticsearch