remove debug folders and added teardown to remove temp folders