Fixed the program exiting immediately and always printing the fallback message