Fixed the issues with the commas preventing the program running