added new variables for error detecting and validation
drwxr-xr-x - etc