Fixing some stuff with paths, randomizing the items in directory