Create directories at the end