Refs #6. Another derop
Refs #6. More logging and error handling