Script library cleanup of old debris + minor script changes