fixes for Chain and Required
update package.json so npm install works correctly