changed it so ls works for mac as wel as linux