initial stab at simple eapi script