Generate missing directory on first run