add handling of getting ls command