bug fixes and new readme