adding in code for launching of elasticsearch instances