abstract out initialize method so nibs work
Merge pull request #2 from nwest/nibs-fix

Fix for nibs