Fixed EG support.  Now behaves as expected and can execute both images
and scripts.
Switched to execlp from execl.