added export function
fixed v number
Merge pull request #308 from giulianoriccio/master

added export function