Check if es module is installed. Add a script to get VMids based on a given query