Made the script able to loop through several games