Add useragent and set version to 0.5.1