Bug fix

And updated read me and license.