Fixes for publishing to AWS.