Getting regenerate_thumbs to work again