Automatically create a working directory