Simplifying StorageLevel checks
Deleting temp output directory when done