Get settings from app, avoid unnecessary require.