clean branch scripting warnings