reduced arg count in glob()s and wrapped them in split() to make lists