added support for leap
Merge pull request #1 from larsericsson/master

Add support for leap