fixed recommenderSystem.py for production use