Auto-create shared directory

Automatically create shared directory.