Added custom user-agent option