Fix up the get/put scripts a bit.