Fix an issue that brackets in path break script