add an error output to Room::doScript()