removed the distribution folder style, moving back to branch style

also config should not log errors on production