had to update and comment out some settings to get things to work
updated code, made it pass perlcritic