fixed syntax error in leaderImport and replaced files dictionary with an array in Frames.py