change arguments of  to extend headers
fixed changing user agent strings
update for 1.0.4