How about getting the path as an argument to the script? That way it could be used to test stuff with different paths.