adding the ls command to the validation script