updated to use execv and PATH