Added some logging to detect image resize script errors