change heroes.txt to an array in the script