only create a new directory if it not yet exists
only remove existing directories