Add ability do pass a path to check to the script

It's important not to hard code the path to check.