fixed small bug that caused passwords from files not being used