Fix missing directory on first run