updated readme and refactored 4getResetChallenges.js