automatically create the directory