add new verion support.
Merge pull request #3 from kilnyy/nightly-version-support

add night verion support.