Added directory checks for certain functionality (/usr/local/sbin in particular)