Making each input box unique by appending a number to the end and counting upwards. Not a great solution, sigh