fixed directory access and now random list can append