Added cleanup functions for deleting source dirs