Change to flags in ls function