Improved the compatibility with older versions, and made small change to readme