Fixed the RecognizeInputFolder and RegisterInputFolder functions and added echos