Added default user agent option and created constants