scripts adapted to EAP 6.3