Fixed two node pathing issues; using the more reliable __dirname global. Version update. Reduced complexity by abstracting the requirement checking function.