Modify library convert scripts