Added the code to actualy delete the directory, not just copy