Use Laravel config values if available, but allow standalone use as well
Add user agent to config