Modified for rise use.
Merge pull request #2 from skrenek/master

Modified for rise use.