Add the ability to check subfolders via a regex pattern match

I needed to check only a 'subfolder' inside of a bucket so I made this quick change to the script.  Thought you might find it useful.