update readme
switch to full version func
add agreement