Update the first call to abcde to keep the directory between calls. Add error checking for the abcde calls.