added delete dir step