fix local hostname override; fix s3 errors; improve logging