fixed the list
made the while loop work with i statement
added the path like a boss