change path
more elegant approach
Merge pull request #1 from emgee3/master

added extension registration.